package com.hmy.finance.service.receipt.dto.contactorAccount;

import com.hmy.finance.api.common.enums.receipt.AccountTradeBusinessTypeEnum;
import com.hmy.finance.api.common.enums.receipt.InsufficientExpensesMethodEnum;
import com.hmy.finance.dal.po.receipt.CustomerContactorBalanceAccountPo;
import lombok.Data;

import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * 联系人账户支出
 *
 * @author songkf
 */
@Data
public class ContactorExpensesDto implements java.io.Serializable {

    private static final long serialVersionUID = 3562307786961180480L;

    //======================= Request Parameters =======================

    /**
     * 客户账户ID
     */
    private Long contactorId;
    /**
     * 入账金额
     */
    private BigDecimal amount;

    /**
     * 业务类型
     */
    private AccountTradeBusinessTypeEnum businessType;

    /**
     * 业务单据号
     */
    private Long businessBillId;

    /**
     * 费用发生日期
     */
    private LocalDateTime feeIncurredTime;
    /**
     * 不足支出选项（默认 拒绝）
     */
    private InsufficientExpensesMethodEnum insufficientExpensesMethod = InsufficientExpensesMethodEnum.REFUSE;

    private CustomerContactorBalanceAccountPo balanceAccount;
}
